home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
grap_cad
/
lncad
/
tab123
/
install.bat
next >
Wrap
DOS Batch File
|
1992-05-02
|
1KB
|
39 lines
Echo off
Cls
Echo .
Echo *=================[ Tab123 Install program ]===================*
Echo .
Echo This program will extract files from both the Tab123
Echo ZIP archives to your AutoCAD directory
Echo .
Echo Press any key to continue or CTRL-C to quit now.
Echo .
pause > nul
if [%1] == [] goto :usage
if [%2] == [] goto :usage
if not exist %1\unzip.exe goto baddrive
if not exist %2\acad.exe goto badacad
:ok
Echo .
Echo Extracting Tab123 files...
Echo .
%1\unzip %1\tab123\*.zip %2 /o
rename %2\!read.me! readme.tab
rename %2\manifest manifest.tab
rename %2\order.doc order.tab
:done
Echo Done
goto end
:badacad
Echo Error: %2 is not your AutoCAD directory.
goto usage
:baddrive
Echo Error: the file UNZIP.EXE can not be found on drive %1
:usage
Echo .
Echo In order for Install to work properly you must provide both the
Echo floppy drive and your AutoCAD directory:
Echo .
Echo Usage: INSTALL A: C:\ACAD
:end